package com.csd.dto;



import java.io.Serializable;

/**
 * @program: CeSuDi_SSM
 * @description:
 * @author: 苏蕊
 * @create: 2020-12-22 18:24
 */

public class ActionResult implements Serializable {
    private Integer  statusCode; //响应码
    private String msg;//短消息
    private Object data;//响应携带的对象

    public ActionResult() {
    }

    public ActionResult(Integer statusCode, String msg, Object data) {
        this.statusCode = statusCode;
        this.msg = msg;
        this.data = data;
    }

    public Integer getStatusCode() {
        return statusCode;
    }

    public void setStatusCode(Integer statusCode) {
        this.statusCode = statusCode;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "ActionResult{" +
                "statusCode=" + statusCode +
                ", msg='" + msg + '\'' +
                ", data=" + data +
                '}';
    }
}
